home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / winsock / twnsck12.zip / SRC\MEM.C < prev    next >
Text File  |  1994-12-04  |  205b  |  14 lines

  1. void
  2. memset(char *pvMem, int iVal, int nBytes)
  3. {
  4.     while(nBytes--)
  5.         *pvMem++ = iVal;
  6. }
  7.  
  8. void
  9. memcpy(char *pvDest, char *pvSource, int nBytes)
  10. {
  11.     while (nBytes--)
  12.         *pvDest++ = *pvSource++;
  13. }
  14.